﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'DeleteDetalleAsignacionByIdAsignacion')
	BEGIN
		DROP  Procedure  DeleteDetalleAsignacionByIdAsignacion
	END

GO

CREATE Procedure DeleteDetalleAsignacionByIdAsignacion

	(
		@idAsignacion int
	)

AS

DELETE FROM DetalleAsignacion WHERE IdAsignacion = @idAsignacion

GO

GRANT EXEC ON DeleteDetalleAsignacionByIdAsignacion TO PUBLIC

GO


